home *** CD-ROM | disk | FTP | other *** search
- echo off
- REM Format: ASMCREF filename [options]
- if .%1 == . goto nosource
- if exist %1 goto bad-ext
- if not exist %1.asm goto nofile
- masm %1 nul %1 %1 /N%2
- if errorlevel 1 goto endall
- rem echo Ctrl-C to skip CREF
- rem pause
- cref %1,%1
- erase %1.crf
- goto endall
- :nosource
- echo No source file specified...
- goto endall
- :bad-ext
- echo ".ASM" must NOT be specified
- goto endall
- :nofile
- echo Source file does not exist
- :endall